package org.bonorsoft.modules.wechat.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.bonorsoft.modules.wechat.entity.NywxTj;
import org.bonorsoft.modules.wechat.mapper.NywxTjMapper;
import org.bonorsoft.modules.wechat.service.INywxTjService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NywxTjServiceImpl extends ServiceImpl<NywxTjMapper, NywxTj> implements INywxTjService {

    /**
     * 你有我需 我有 列表
     * @return list
     */
    @Override
    public List<NywxTj> iHaveList() {
        return this.baseMapper.iHaveList();
    }

    /**
     * 你有我需 我需 列表
     *
     * @return list
     */
    @Override
    public List<NywxTj> iNeedList() {
        return this.baseMapper.iNeedList();
    }

    @Override
    public IPage<NywxTj> paging(Page<NywxTj> page, QueryWrapper<NywxTj> queryWrapper) {
        return this.baseMapper.paging(page, queryWrapper);
    }
}
